#pragma once
#include "baseshaderprogram.h"
#include "texture.h"
class ShaderGuiTexture :
	public BaseShaderProgram
{
public:
	ShaderGuiTexture(void);
	virtual ~ShaderGuiTexture(void);
	string GetUniqueShaderName();
	bool Initialize();

public:
	void SetTexture(const Texture *t);
	void SetProjection(const matrix &m);
	void SetView(const matrix &m);
	void SetWorld(const matrix &m);
	void SetSize(const vector2 &size);
	int GetVertexLocation() const;
	int GetTexcoordLocation() const;

private:
	int uf_vecSize;
	int uf_texSampler;
	int uf_matWorld;
	int uf_matView;
	int uf_matProjection;
	int in_vert;
	int in_texcoord;
	uint m_texSampler;
};

